<%@ page contentType= "text/html;charset=utf-8" %>

<html>
<%@ include file="../../common/base.jsp" %>
<body>

<div id="container">
	<%@ include file="../../common/header.jsp" %>
	<div id="menu">
		<a href="<c:url value="/common/home.o"/>"><fmt:message key="Home" /></a> > 
	    <a href="<c:url value="/dictionary/itunm/manage.o"/>"><fmt:message key="label.product.itunm" /></a> >
	   <fmt:message key="${action}" />
	    <div  style="float: right" ><fmt:message key="Logged" />: <c:out value="${currentUser.username}" /> (<a href="<c:url value="/common/logout.o"/>"><fmt:message key="Logout" /></a>)</div>
	</div>
	
	<div id="midbody">
	      <div id="leftside">
		 	<br>
			<a href="<c:url value="/dictionary/ituch/manage.o"/>"><fmt:message key="label.product.ituch" /></a>
			<br><br>
			<a href="<c:url value="/dictionary/itunm/manage.o"/>"><fmt:message key="label.product.itunm" /></a>
	      </div>
	      <div id="rightside">
	    	   
	        <div id="bigbox">
		        <div class="title">
		        	<fmt:message key="${action}" /> <fmt:message key="label.product.itunm" />
		        	<%@ include file="../../common/hidemenu.jsp" %>
		        </div>
		        <div class="content">
	
		            <form:form modelAttribute="itunm">
		                <form:errors path="*" element="div" cssClass="errors"/>
		                <div><div class="form-label"><fmt:message key="Name" />:</div><form:input path="name"/></div>
		                <div><div class="form-label"><fmt:message key="Description" />:</div><form:textarea path="description"/></div>
		                <div>
		                	<input type="submit" value="<fmt:message key='Save' />"/>&nbsp;
		                	<input type="button" onclick="document.location.href='<c:url value="/dictionary/itunm/manage.o"/>'" value="<fmt:message key='Cancel' />"/>
		                </div>
		            </form:form>
		        </div>
	    	</div>
		</div>
	</div>
	<%@ include file="../../common/foot.jsp" %>
</div>
	
<script type="text/javascript">
document.getElementById('name').focus();
</script>

</body>
</html>
